package com.hudilao.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("order_review")
public class OrderReview implements Serializable {

    public static final Integer NOREPLY = 0;
    public static final Integer REPLIED = 1;

    private static final long serialVersionUID = 1L;
    //@TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long customerId;
    private Long orderId;
    private Integer rating;
    private String reviewText;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private Long employeeId;           //管理员id
    private String employeeReply;      //管理员回复
    private Integer status;            //管理员回复状态
}
